<template>
  <div id="app">
    <!-- <nav>
      <router-link to="/about">About</router-link>|
      <router-link to="/new">新建</router-link>|
      <router-link to="/dynamic">项目详情页</router-link>|
      <router-link to="/projects">项目</router-link>|
      <router-link to="/designSystem">设计系统</router-link>|
      <router-link to="/management">管理</router-link>|
       
        |  <el-button type="info" @click="logout">退出</el-button>
      
    </nav> -->
    <router-view></router-view>



  </div>

</template>

<script>
export default {
  methods: {
    // logout(){
    //   window.localStorage.clear();
    //   console.log(this.$router.path);
    //   this.$router.push('/login');
    // },
    
  }
}
</script>>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

/* #app {
  height: 100%;
} */

nav {
  padding: 30px;
}

nav a {
  font-weight: bold;
  color: #2c3e50;
}

nav a.router-link-exact-active {
  color: #42b983;
}
</style>

